@borderColor: #d5dee7ff;

.xflowMain {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 1000px;
  height: calc(100vh - 68px);

  .actionBar {
    display: flex;
    flex: 0 0 auto;
    width: 100%;
    height: 40px;
    border-bottom: 1px solid @borderColor;
    border-left: 1px solid @borderColor;
  }

  .leftBar {
    flex: 1;
    line-height: 40px;

    .antDropdownLink {
      position: absolute;
      right: 300px;
      color: #333;
      font-size: 14px;
      .ver {
        color: #04a17e;
      }
    }

    .flowItem {
      display: inline-block;
      height: 32px;
      margin-left: 4px;
      padding-right: 4px;
      padding-left: 4px;
      line-height: 32px;
      border-radius: 2px;
      cursor: pointer;
      user-select: none;

      i {
        margin-right: 6px;
        margin-left: 4px;
      }

      &:hover {
        background-color: #ecedf0ff;
      }
    }
  }

  .rightBar {
    flex: 0 0 auto;
    width: 300px;
    height: 40px;
    padding-left: 14px;
    color: #1e2733;
    font-weight: 600;
    font-size: 14px;
    font-family: PingFangSC-Medium, PingFang SC;
    line-height: 40px;
    border-left: 1px solid @borderColor;
  }

  .bodyWapper {
    display: flex;
    flex: 1 1 auto;

    .canvas {
      flex: 1;

      .dropWapper {
        position: relative;
        width: 100%;
        height: 100%;
      }
    }

    .pannels {
      flex: 0 0 auto;
      width: 300px;
      border-left: 1px solid @borderColor;
    }
  }

  .miniMap {
    position: absolute;
    right: 214px;
    bottom: 320px;
    z-index: 99;
    width: 300px;
    height: 200px;
  }

  .canvasTools {
    position: absolute;
    top: 20px;
    right: 14px;
    z-index: 99;
    width: 32px;
    margin: 0;
    padding: 3px 0;
    color: rgba(0, 0, 0, 0.45);
    font-size: 16px;
    list-style-type: none;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.01);

    .item {
      text-align: center;
      cursor: pointer;

      &:hover {
        color: #000;
        background-color: #e0e0e0;
      }
    }
  }

  .contextMenuWrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10002;

    .graphContextMenu {
      position: absolute;
      z-index: 1;
      background-color: #fff;
    }
  }
}
